
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_demo/provider/base_change_notifier_model.dart';

class GlobalModel extends BaseChangeNotifierModel {
  GlobalKey<ScaffoldState> globalKey = GlobalKey<ScaffoldState>();
  int dd = 1;
  change(){
    dd = 3;
  }

  void openDrawer() {
    globalKey.currentState.openDrawer();
    notifyListeners();
  }
}